/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package es.inforcard.katas.countingcodelines;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

/**
 * Kata que cuenta lineas de código excluye las que sean comentarios
 * http://codekata.pragprog.com/2007/01/kata_thirteen_c.html
 *
 * @author ricardo
 */
public class CountingCodeLines {




    /**
     * Obtine lista de palabaras de una linea
     * @param line
     * @return
     */
    public Line parseLine(String line, boolean isTokenOpen) {

        Line lineResult=new Line();



        List wordList = new ArrayList();
        StringTokenizer st = new StringTokenizer(line,"//");
        while (st.hasMoreTokens()) {
            wordList.add(st.nextToken());
        }

        
        return lineResult;

    }


public void isToken(String word) {

}

}
